public class Circle {
    int radius;
    final static double PI = 3.14;
    Circle(int r){
        radius = r;
    }

    double area()
    {
        return PI * (radius * radius);
    }

    double perimeter(){
        return PI * 2 * radius;
    }
}

//public class Circle extends Geometry{
//    double r;
//    Circle(double r){
//        this.r = r;
//    }
//    public double getArea(){
//        return (3.14 * r * r);
//    }
//}